﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Zor_Tools;
using Zor_Modes;
using Zor_DAL;

namespace Zor_Bll
{
    public class Main_Bll<T> where T : class
    {

        /// <summary>
        /// 获取当前登陆用户的菜单权限
        /// </summary>
        /// <returns></returns>
        public static List<T> GetMenuList()
        {
            List<T> lst = Main_DAL<T>.GetManuList(RequestSession.GetSessionUser());
            BaseClass.navigations = lst as List<Sys_Navigations>;
            return Main_DAL<T>.GetManuList(RequestSession.GetSessionUser());
        }

    }
}
